package com.topscore.uke.ui.loadsir_callback;

import android.content.Context;
import android.view.View;
import android.widget.TextView;

import com.kingja.loadsir.callback.Callback;
import com.topscore.uke.R;

/**
 * Created by 71468 on 2018/3/21.
 */

public class EmptyCallBack extends Callback {

    @Override
    protected int onCreateView() {
        return R.layout.empty_view;
    }

    @Override
    protected void onViewCreate(Context context, View view) {
        super.onViewCreate(context, view);
    }

    public void setMessage(CharSequence message){
        TextView textView = (TextView) getRootView().findViewById(R.id.empty_message);
        textView.setText(message);
    }
}
